package top.rzhsky.dao;

import top.rzhsky.bean.Message;
import top.rzhsky.bean.User;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashSet;

public interface Dao {
    User login(Message message);

    HashSet<User> listAllUserName();

    User register(Message message) throws IOException;
}
